<html>
<body>
<?php 

require('connect_db.php');

$p_id = $_GET['id'];

$product_result = mysql_query("SELECT * FROM producten WHERE Productid = ".$p_id." ") or die(mysql_error());

echo "<div style='width:80%; float:left; font:28px, Times new Roman;'><strong> Winkelmandje </strong>
	<table border='1'>
	<tr>
			<td width='450' align='center'><strong>Naam</strong></td>
			<td width='150' align='center'><strong>Prijs</strong></td>
			
	</tr>";
	
while($product_row = mysql_fetch_array($product_result))
	{
	  echo "<tr>
			<td align='left'>".$product_row['Naam']."</td>
			<td align='center'>".$product_row['Prijs']."</td>
		</tr>";
	}		
echo "</table>";

?>
</html>
</body>